package com.chen.palmar.entity;

import java.util.List;

/**
 * @author Chen
 * @date 2018/1/3
 * 功能描述：
 */

public class AgencyDetailEntity {


    /**
     * resultCode : 1000
     * message : null
     * error : null
     * data : {"distrId":21,"logo":"http://union-upload.other.ren/upload/avatar/origin/20181/9d1e652d-837b-4ce9-8be4-b5df4dcdd7d7.jpeg","name":"远大食品","desc":"远大食品是一家综合食品公司","brand":"清风","address_name":"北京北京市","channel":"网络渠道 实体渠道 电商渠道","mobile":"17336987456","contacts":"苏先生","bulk_num":30,"ration_num":50,"articles":[{"articleId":71,"title":"测试","imgList":[],"content":"测","user_name":"美美哒","user_avatar":"http://garden-upload.hulianjiating.com/upload/app/default/avatarFriend.jpeg","create_at":"2018-01-20 11:06","type":2,"address_detail":null,"praise_nums":0,"browse_nums":2,"comment_nums":1,"labelName":null}],"favoriteStatus":-1}
     * dataReserve1 : null
     * dataReserve2 : null
     * navigatePageNumbers : null
     */

    private int resultCode;
    private String message;
    private String error;
    private DataBean data;
    private String dataReserve1;
    private String dataReserve2;
    private String navigatePageNumbers;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getDataReserve1() {
        return dataReserve1;
    }

    public void setDataReserve1(String dataReserve1) {
        this.dataReserve1 = dataReserve1;
    }

    public String getDataReserve2() {
        return dataReserve2;
    }

    public void setDataReserve2(String dataReserve2) {
        this.dataReserve2 = dataReserve2;
    }

    public String getNavigatePageNumbers() {
        return navigatePageNumbers;
    }

    public void setNavigatePageNumbers(String navigatePageNumbers) {
        this.navigatePageNumbers = navigatePageNumbers;
    }

    public static class DataBean {
        /**
         * distrId : 21
         * logo : http://union-upload.other.ren/upload/avatar/origin/20181/9d1e652d-837b-4ce9-8be4-b5df4dcdd7d7.jpeg
         * name : 远大食品
         * desc : 远大食品是一家综合食品公司
         * brand : 清风
         * address_name : 北京北京市
         * channel : 网络渠道 实体渠道 电商渠道
         * mobile : 17336987456
         * contacts : 苏先生
         * bulk_num : 30
         * ration_num : 50
         * articles : [{"articleId":71,"title":"测试","imgList":[],"content":"测","user_name":"美美哒","user_avatar":"http://garden-upload.hulianjiating.com/upload/app/default/avatarFriend.jpeg","create_at":"2018-01-20 11:06","type":2,"address_detail":null,"praise_nums":0,"browse_nums":2,"comment_nums":1,"labelName":null}]
         * favoriteStatus : -1
         */

        private int distrId;
        private String logo;
        private String name;
        private String desc;
        private String brand;
        private String address_name;
        private String channel;
        private String mobile;
        private String contacts;
        private int bulk_num;
        private int ration_num;
        private int favoriteStatus;
        private List<ArticlesBean> articles;

        public int getDistrId() {
            return distrId;
        }

        public void setDistrId(int distrId) {
            this.distrId = distrId;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getAddress_name() {
            return address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public int getBulk_num() {
            return bulk_num;
        }

        public void setBulk_num(int bulk_num) {
            this.bulk_num = bulk_num;
        }

        public int getRation_num() {
            return ration_num;
        }

        public void setRation_num(int ration_num) {
            this.ration_num = ration_num;
        }

        public int getFavoriteStatus() {
            return favoriteStatus;
        }

        public void setFavoriteStatus(int favoriteStatus) {
            this.favoriteStatus = favoriteStatus;
        }

        public List<ArticlesBean> getArticles() {
            return articles;
        }

        public void setArticles(List<ArticlesBean> articles) {
            this.articles = articles;
        }

        public static class ArticlesBean {
            /**
             * articleId : 71
             * title : 测试
             * imgList : []
             * content : 测
             * user_name : 美美哒
             * user_avatar : http://garden-upload.hulianjiating.com/upload/app/default/avatarFriend.jpeg
             * create_at : 2018-01-20 11:06
             * type : 2
             * address_detail : null
             * praise_nums : 0
             * browse_nums : 2
             * comment_nums : 1
             * labelName : null
             */

            private int articleId;
            private String title;
            private String content;
            private String user_name;
            private String user_avatar;
            private String create_at;
            private int type;
            private String address_detail;
            private int praise_nums;
            private int browse_nums;
            private int comment_nums;
            private String labelName;
            private List<?> imgList;

            public int getArticleId() {
                return articleId;
            }

            public void setArticleId(int articleId) {
                this.articleId = articleId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getUser_avatar() {
                return user_avatar;
            }

            public void setUser_avatar(String user_avatar) {
                this.user_avatar = user_avatar;
            }

            public String getCreate_at() {
                return create_at;
            }

            public void setCreate_at(String create_at) {
                this.create_at = create_at;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getAddress_detail() {
                return address_detail;
            }

            public void setAddress_detail(String address_detail) {
                this.address_detail = address_detail;
            }

            public int getPraise_nums() {
                return praise_nums;
            }

            public void setPraise_nums(int praise_nums) {
                this.praise_nums = praise_nums;
            }

            public int getBrowse_nums() {
                return browse_nums;
            }

            public void setBrowse_nums(int browse_nums) {
                this.browse_nums = browse_nums;
            }

            public int getComment_nums() {
                return comment_nums;
            }

            public void setComment_nums(int comment_nums) {
                this.comment_nums = comment_nums;
            }

            public String getLabelName() {
                return labelName;
            }

            public void setLabelName(String labelName) {
                this.labelName = labelName;
            }

            public List<?> getImgList() {
                return imgList;
            }

            public void setImgList(List<?> imgList) {
                this.imgList = imgList;
            }
        }
    }
}
